
const Router = require('@koa/router');
const router = new Router();
const userRouter=new Router();
const { register, login, getUsers, updatePassword ,uploadAvatar,quit} = require('../controllers/userCtr')
//注册
userRouter.post('/login', register)
router.use('/users',userRouter.routes());
module.exports = router;
